package org.jeecg.modules.demo.basep.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 基础物料表
 * @Author: jeecg-boot
 * @Date:   2021-02-13
 * @Version: V1.0
 */
@Data
@TableName("basepart")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="basepart对象", description="基础物料表")
public class Basepart implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**编码*/
	@Excel(name = "编码", width = 15)
    @ApiModelProperty(value = "编码")
    private java.lang.String partCode;
	/**版本号*/
	@Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private java.lang.String version;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15)
    @ApiModelProperty(value = "物料名称")
    private java.lang.String partName;
	/**规格号*/
	@Excel(name = "规格号", width = 15)
    @ApiModelProperty(value = "规格号")
    private java.lang.String spec;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private java.lang.String desp;
	/**旧编码*/
	@Excel(name = "旧编码", width = 15)
    @ApiModelProperty(value = "旧编码")
    private java.lang.String oldCode;
	/**助记码*/
	@Excel(name = "助记码", width = 15)
    @ApiModelProperty(value = "助记码")
    private java.lang.String helpcode;
	/**ABC分类*/
	@Excel(name = "ABC分类", width = 15, dicCode = "ABCcode")
	@Dict(dicCode = "ABCcode")
    @ApiModelProperty(value = "ABC分类")
    private java.lang.String abcCode;
	/**图号*/
	@Excel(name = "图号", width = 15)
    @ApiModelProperty(value = "图号")
    private java.lang.String photoNumber;
	/**生效日期*/
	@Excel(name = "生效日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "生效日期")
    private java.util.Date sdate;
	/**有效开始时间*/
	@Excel(name = "有效开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "有效开始时间")
    private java.util.Date starttime;
	/**有效结束时间*/
	@Excel(name = "有效结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "有效结束时间")
    private java.util.Date endtime;
	/**生产类型*/
	@Excel(name = "生产类型", width = 15, dicCode = "make_info")
	@Dict(dicCode = "make_info")
    @ApiModelProperty(value = "生产类型")
    private java.lang.String makeInfo;
	/**资源类型*/
	@Excel(name = "资源类型", width = 15, dicCode = "zyinfo")
	@Dict(dicCode = "zyinfo")
    @ApiModelProperty(value = "资源类型")
    private java.lang.String zyinfo;
	/**是否可销售*/
	@Excel(name = "是否可销售", width = 15, dicCode = "issell")
	@Dict(dicCode = "issell")
    @ApiModelProperty(value = "是否可销售")
    private java.lang.String issell;
	/**材质*/
	@Excel(name = "材质", width = 15)
    @ApiModelProperty(value = "材质")
    private java.lang.String material;
	/**单重*/
	@Excel(name = "单重", width = 15)
    @ApiModelProperty(value = "单重")
    private java.lang.String weight;
	/**毛重*/
	@Excel(name = "毛重", width = 15)
    @ApiModelProperty(value = "毛重")
    private java.lang.String mweight;
	/**系列*/
	@Excel(name = "系列", width = 15)
    @ApiModelProperty(value = "系列")
    private java.lang.String set1;
	/**代号*/
	@Excel(name = "代号", width = 15)
    @ApiModelProperty(value = "代号")
    private java.lang.String dnumber;
	/**模型*/
	@Excel(name = "模型", width = 15)
    @ApiModelProperty(value = "模型")
    private java.lang.String model;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;
	/**是否认证*/
	@Excel(name = "是否认证", width = 15, dicCode = "ischecked")
	@Dict(dicCode = "ischecked")
    @ApiModelProperty(value = "是否认证")
    private java.lang.String ischecked;
	/**是否冻结*/
	@Excel(name = "是否冻结", width = 15, dicCode = "status")
	@Dict(dicCode = "status")
    @ApiModelProperty(value = "是否冻结")
    private java.lang.String status;
	/**基础计量单位*/
	@Excel(name = "基础计量单位", width = 15, dicCode = "base_unit")
	@Dict(dicCode = "base_unit")
    @ApiModelProperty(value = "基础计量单位")
    private java.lang.String baseUnit;
	/**销售计量单位*/
	@Excel(name = "销售计量单位", width = 15, dicCode = "sale_unit")
	@Dict(dicCode = "sale_unit")
    @ApiModelProperty(value = "销售计量单位")
    private java.lang.String saleUnit;
	/**采购计量单位*/
	@Excel(name = "采购计量单位", width = 15, dicCode = "purse_unit")
	@Dict(dicCode = "purse_unit")
    @ApiModelProperty(value = "采购计量单位")
    private java.lang.String purseUnit;
	/**生产计量单位*/
	@Excel(name = "生产计量单位", width = 15, dicCode = "prod_unit")
	@Dict(dicCode = "prod_unit")
    @ApiModelProperty(value = "生产计量单位")
    private java.lang.String prodUnit;
	/**库存计量单位*/
	@Excel(name = "库存计量单位", width = 15, dicCode = "k_unit")
	@Dict(dicCode = "k_unit")
    @ApiModelProperty(value = "库存计量单位")
    private java.lang.String stockUnit;
	/**发运计量单位*/
	@Excel(name = "发运计量单位", width = 15, dicCode = "fy_unit")
	@Dict(dicCode = "fy_unit")
    @ApiModelProperty(value = "发运计量单位")
    private java.lang.String fyUnit;
	/**数量辅助计量单位*/
	@Excel(name = "数量辅助计量单位", width = 15)
    @ApiModelProperty(value = "数量辅助计量单位")
    private java.lang.String suppleUnit;
	/**数量辅助计量换算率*/
	@Excel(name = "数量辅助计量换算率", width = 15)
    @ApiModelProperty(value = "数量辅助计量换算率")
    private java.lang.String suppleExchange;
	/**数量精度*/
	@Excel(name = "数量精度", width = 15)
    @ApiModelProperty(value = "数量精度")
    private java.lang.String smaller;
	/**重量计量单位*/
	@Excel(name = "重量计量单位", width = 15, dicCode = "weight_unit")
	@Dict(dicCode = "weight_unit")
    @ApiModelProperty(value = "重量计量单位")
    private java.lang.String weightUnit;
	/**物料分类*/
	@Excel(name = "物料分类", width = 15)
    @ApiModelProperty(value = "物料分类")
    private java.lang.String infoId;
	/**销售重量单位*/
	@Excel(name = "销售重量单位", width = 15)
    @ApiModelProperty(value = "销售重量单位")
    private java.lang.String sweightunit;
	/**外购重量单位*/
	@Excel(name = "外购重量单位", width = 15)
    @ApiModelProperty(value = "外购重量单位")
    private java.lang.String wunit;
	/**生产重量单位*/
	@Excel(name = "生产重量单位", width = 15)
    @ApiModelProperty(value = "生产重量单位")
    private java.lang.String sunit;
	/**库存重量单位*/
	@Excel(name = "库存重量单位", width = 15)
    @ApiModelProperty(value = "库存重量单位")
    private java.lang.String kunit;
	/**重量辅助单位*/
	@Excel(name = "重量辅助单位", width = 15)
    @ApiModelProperty(value = "重量辅助单位")
    private java.lang.String fzunit;
	/**重量换算率*/
	@Excel(name = "重量换算率", width = 15)
    @ApiModelProperty(value = "重量换算率")
    private java.lang.String fzrate;
	/**重量精度*/
	@Excel(name = "重量精度", width = 15)
    @ApiModelProperty(value = "重量精度")
    private java.lang.String fzprecision;
	/**第三计量单位*/
	@Excel(name = "第三计量单位", width = 15)
    @ApiModelProperty(value = "第三计量单位")
    private java.lang.String junit;
	/**销售三量单位*/
	@Excel(name = "销售三量单位", width = 15)
    @ApiModelProperty(value = "销售三量单位")
    private java.lang.String saleunit;
	/**外购三量单位*/
	@Excel(name = "外购三量单位", width = 15)
    @ApiModelProperty(value = "外购三量单位")
    private java.lang.String wsunit;
	/**生产三量单位*/
	@Excel(name = "生产三量单位", width = 15)
    @ApiModelProperty(value = "生产三量单位")
    private java.lang.String msunit;
	/**库存三量单位*/
	@Excel(name = "库存三量单位", width = 15)
    @ApiModelProperty(value = "库存三量单位")
    private java.lang.String ksunit;
	/**发运三量单位*/
	@Excel(name = "发运三量单位", width = 15)
    @ApiModelProperty(value = "发运三量单位")
    private java.lang.String fsunit;
	/**三量辅助单位*/
	@Excel(name = "三量辅助单位", width = 15)
    @ApiModelProperty(value = "三量辅助单位")
    private java.lang.String ssfunit;
	/**三量换算率*/
	@Excel(name = "三量换算率", width = 15)
    @ApiModelProperty(value = "三量换算率")
    private java.lang.String srate;
	/**货币单位*/
	@Excel(name = "货币单位", width = 15, dicCode = "currency")
	@Dict(dicCode = "currency")
    @ApiModelProperty(value = "货币单位")
    private java.lang.String currency;
	/**销售数量单价*/
	@Excel(name = "销售数量单价", width = 15)
    @ApiModelProperty(value = "销售数量单价")
    private java.lang.String price;
	/**销售重量单价*/
	@Excel(name = "销售重量单价", width = 15)
    @ApiModelProperty(value = "销售重量单价")
    private java.lang.String price1;
	/**销售第三单价*/
	@Excel(name = "销售第三单价", width = 15)
    @ApiModelProperty(value = "销售第三单价")
    private java.lang.String price2;
	/**销售计价方式*/
	@Excel(name = "销售计价方式", width = 15, dicCode = "price12")
	@Dict(dicCode = "price12")
    @ApiModelProperty(value = "销售计价方式")
    private java.lang.String pstyle;
	/**标准交货期*/
	@Excel(name = "标准交货期", width = 15)
    @ApiModelProperty(value = "标准交货期")
    private java.lang.String paydays;
	/**标准交货单位*/
	@Excel(name = "标准交货单位", width = 15)
    @ApiModelProperty(value = "标准交货单位")
    private java.lang.String payunit;
	/**外购数量单价*/
	@Excel(name = "外购数量单价", width = 15)
    @ApiModelProperty(value = "外购数量单价")
    private java.lang.String wprice;
	/**外购重量单价*/
	@Excel(name = "外购重量单价", width = 15)
    @ApiModelProperty(value = "外购重量单价")
    private java.lang.String wwprice;
	/**外购第三单价*/
	@Excel(name = "外购第三单价", width = 15)
    @ApiModelProperty(value = "外购第三单价")
    private java.lang.String thirdprice;
	/**外购计价方式*/
	@Excel(name = "外购计价方式", width = 15, dicCode = "wgstyle")
	@Dict(dicCode = "wgstyle")
    @ApiModelProperty(value = "外购计价方式")
    private java.lang.String wjstyle;
	/**标准外购周期*/
	@Excel(name = "标准外购周期", width = 15)
    @ApiModelProperty(value = "标准外购周期")
    private java.lang.String wgday;
	/**标准外购周期单位*/
	@Excel(name = "标准外购周期单位", width = 15)
    @ApiModelProperty(value = "标准外购周期单位")
    private java.lang.String wgunit;
	/**生产数量单价*/
	@Excel(name = "生产数量单价", width = 15)
    @ApiModelProperty(value = "生产数量单价")
    private java.lang.String madePrice;
	/**生产重量单价*/
	@Excel(name = "生产重量单价", width = 15)
    @ApiModelProperty(value = "生产重量单价")
    private java.lang.String madewprice;
	/**生产第三单价*/
	@Excel(name = "生产第三单价", width = 15)
    @ApiModelProperty(value = "生产第三单价")
    private java.lang.String madethirdprice;
	/**生产计价方式*/
	@Excel(name = "生产计价方式", width = 15, dicCode = "madestyle")
	@Dict(dicCode = "madestyle")
    @ApiModelProperty(value = "生产计价方式")
    private java.lang.String madestyle;
	/**标准生产周期*/
	@Excel(name = "标准生产周期", width = 15)
    @ApiModelProperty(value = "标准生产周期")
    private java.lang.String bmakeday;
	/**标准生产周期单位*/
	@Excel(name = "标准生产周期单位", width = 15)
    @ApiModelProperty(value = "标准生产周期单位")
    private java.lang.String bmakeunit;
	/**库存数量单价*/
	@Excel(name = "库存数量单价", width = 15)
    @ApiModelProperty(value = "库存数量单价")
    private java.lang.String kprice;
	/**库存重量单价*/
	@Excel(name = "库存重量单价", width = 15)
    @ApiModelProperty(value = "库存重量单价")
    private java.lang.String kwprice;
	/**库存第三单价*/
	@Excel(name = "库存第三单价", width = 15)
    @ApiModelProperty(value = "库存第三单价")
    private java.lang.String kthirdprice;
	/**库存计价方式*/
	@Excel(name = "库存计价方式", width = 15, dicCode = "kpricestyle")
	@Dict(dicCode = "kpricestyle")
    @ApiModelProperty(value = "库存计价方式")
    private java.lang.String kpricestyle;
	/**标准存放周期*/
	@Excel(name = "标准存放周期", width = 15)
    @ApiModelProperty(value = "标准存放周期")
    private java.lang.String rperiod;
	/**标准存放有效单位*/
	@Excel(name = "标准存放有效单位", width = 15)
    @ApiModelProperty(value = "标准存放有效单位")
    private java.lang.String runit;
	/**最低库存量*/
	@Excel(name = "最低库存量", width = 15)
    @ApiModelProperty(value = "最低库存量")
    private java.lang.String lowNum;
	/**最高库存量*/
	@Excel(name = "最高库存量", width = 15)
    @ApiModelProperty(value = "最高库存量")
    private java.lang.String heightNum;
	/**安全库存量*/
	@Excel(name = "安全库存量", width = 15)
    @ApiModelProperty(value = "安全库存量")
    private java.lang.String safeNum;
	/**批量单位*/
	@Excel(name = "批量单位", width = 15)
    @ApiModelProperty(value = "批量单位")
    private java.lang.String batchUnit;
	/**最小批量*/
	@Excel(name = "最小批量", width = 15)
    @ApiModelProperty(value = "最小批量")
    private java.lang.String lbatchNum;
	/**最大批量*/
	@Excel(name = "最大批量", width = 15)
    @ApiModelProperty(value = "最大批量")
    private java.lang.String hbatchnum;
	/**主工艺路线*/
	@Excel(name = "主工艺路线", width = 15)
    @ApiModelProperty(value = "主工艺路线")
    private java.lang.String processroutes;
	/**批次*/
	@Excel(name = "批次", width = 15)
    @ApiModelProperty(value = "批次")
    private java.lang.String batch;
	/**有效批次*/
	@Excel(name = "有效批次", width = 15)
    @ApiModelProperty(value = "有效批次")
    private java.lang.String ybatch;
	/**标准成品率*/
	@Excel(name = "标准成品率", width = 15)
    @ApiModelProperty(value = "标准成品率")
    private java.lang.String productrate;
	/**标准损耗率*/
	@Excel(name = "标准损耗率", width = 15)
    @ApiModelProperty(value = "标准损耗率")
    private java.lang.String wastgerate;
	/**是否关键件*/
	@Excel(name = "是否关键件", width = 15, dicCode = "ismain")
	@Dict(dicCode = "ismain")
    @ApiModelProperty(value = "是否关键件")
    private java.lang.String ismain;
	/**是否专用*/
	@Excel(name = "是否专用", width = 15, dicCode = "iszy")
	@Dict(dicCode = "iszy")
    @ApiModelProperty(value = "是否专用")
    private java.lang.String iszy;
	/**检验等级*/
	@Excel(name = "检验等级", width = 15)
    @ApiModelProperty(value = "检验等级")
    private java.lang.String primaryStyle;
	/**可售期开始*/
	@Excel(name = "可售期开始", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "可售期开始")
    private java.util.Date salestart;
	/**可售期结束*/
	@Excel(name = "可售期结束", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "可售期结束")
    private java.util.Date saleend;
	/**生产车间*/
	@Excel(name = "生产车间", width = 15)
    @ApiModelProperty(value = "生产车间")
    private java.lang.String depart;
	/**客户信息*/
	@Excel(name = "客户信息", width = 15, dictTable = "customer", dicText = "name", dicCode = "name")
	@Dict(dictTable = "customer", dicText = "name", dicCode = "name")
    @ApiModelProperty(value = "客户信息")
    private java.lang.String customer;
	/**产品缩略图  */
	@Excel(name = "产品缩略图  ", width = 15)
    @ApiModelProperty(value = "产品缩略图  ")
    private java.lang.String file;
	/**上传附件*/
	@Excel(name = "上传附件", width = 15)
    @ApiModelProperty(value = "上传附件")
    private java.lang.String uploadfile;
	/**上传附件*/
	@Excel(name = "上传附件", width = 15)
    @ApiModelProperty(value = "上传附件")
    private java.lang.String uploadfile1;
	/**是否工艺目录*/
	@Excel(name = "是否工艺目录", width = 15)
    @ApiModelProperty(value = "是否工艺目录")
    private java.lang.String isbom;
	/**是否有产品明细*/
	@Excel(name = "是否有产品明细", width = 15)
    @ApiModelProperty(value = "是否有产品明细")
    private java.lang.String iscbom;
	/**是否冻结*/
	@Excel(name = "是否冻结", width = 15)
    @ApiModelProperty(value = "是否冻结")
    private java.lang.String status12;
	@Excel(name = "是否是销售单位", width = 15)
	@ApiModelProperty(value = "是否是销售单位")
	private java.lang.String is_saleunit;
	@ApiModelProperty(value = "是否是销售单位")
	private java.lang.String isSaleunit;
	public void isSaleunit(){

	}
}
